package com.edu.dao;

import org.junit.Test;

import static org.junit.Assert.*;

public class UserDaoTest {
    UserDao userDao = new UserDao();
    @Test
    public void insertUser() {
        int flag = userDao.insertUser("Wanghaitao","123456");
        if(flag == 1){
            System.out.println("注册成功！");
        }else{
            System.out.println("注册失败！");
        }
    }
}